package com.zhuoyue.web.core.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.amqp.core.Queue;

/**
 * @Author zhanghui
 * @Date: 2021/07/12/11:15
 * @Description:
 */
@Configuration
public class MqConfig {
    @Bean
    public Queue apiAddQueue() {
        return new Queue("zyzn_api_add", true);
    }

    @Bean
    public Queue movementClickAddQueue() {
        return new Queue("zyzn_movenment_click_count", true);
    }
}
